package com.meitianhui.convenitenbuy.module.store.contract;

import com.meitianhui.convenitenbuy.base.BasePresenter;
import com.meitianhui.convenitenbuy.base.BaseView;
import com.meitianhui.convenitenbuy.module.store.model.DSKBean;
import com.meitianhui.convenitenbuy.module.store.model.DskStoreDetailBean;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/11/2.
 */

public interface OneLotteryDSKContract {
    interface View extends BaseView<Presenter> {
        void getDskInfoBack(boolean result, String msg, DSKBean.ListEntity bean, HashMap<String, String> doc_url);

        void postFavoriteStoreBack(boolean result, String msg);

        void checkDskInfoBack(boolean result, String msg, Map<String, String> map);

        void payDskOrderBack(boolean result, String msg);

        void getStoreDskInfoBack(boolean result, String msg, List<DskStoreDetailBean.DskStoreDetailItemBean> data);
    }

    interface Presenter extends BasePresenter {
        void getDskInfo(String activityId);

        void postFavoriteStore(String storeId);

        void checkDskInfo(String activity_id, String num);

        void payDskOrder(Map<String, String> map);

        void getStoreDskInfo(int page,String activityId);
    }
}
